package com.erp.gather.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 采集商品任务对象 erp_collect_product_task
 *
 * @author erp
 * @date 2023-03-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("erp_collect_product_task")
public class ErpCollectProductTask extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 采集链接
     */
    private String collectUrl;
    /**
     * 采集类型（1速卖通）
     */
    private String category;
    /**
     * 采集状态（-1页面未找到 0待命 1进行中 2完成 3采集异常 4保存异常）
     */
    private String status;
    /**
     * 乐观锁
     */
    private String revision;

    private String collectDuration;
    private String collectBy;
    private Date collectTime;

    private Long collectUserId;
    
    private Integer isOptimize;
    private Integer isTranslate;
    
    private Long categoryId;
    private String customAttributes;
    private String classifyLabel;
    
    private Integer collectType;

}
